<%@ page import="jakarta.servlet.http.HttpSession" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:useBean id="login" class="com.xyzboom.beans.Login" scope="request"/>
<html>
<head>
    <title>main</title>
</head>
<body>
登录成功！<br/>
用户名:
<jsp:getProperty property="username" name="login"/>
<br/>
学院:
<jsp:getProperty property="school" name="login"/>
<br/>
系:
<jsp:getProperty property="department" name="login"/>
<br/>
<a href="${pageContext.request.contextPath}/pages/login/login.jsp">退出登录</a>
<meta http-equiv="refresh" content="5;url=${pageContext.request.contextPath}/servlets/course/CourseController">
</body>
</html>
